package net.csdra.wenhua.nanan.qiandao.domain;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.sql.Timestamp;

/**
 * Created by xiaomi on 2017/2/20.
 */
@Entity(name ="checkIn" )
public class CheckIn {
    @Id
    private String id;
    private String userId;
    private Timestamp checkInTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Timestamp getCheckInTime() {
        return checkInTime;
    }

    public void setCheckInTime(Timestamp checkInTime) {
        this.checkInTime = checkInTime;
    }

    @Override
    public String toString() {
        return "CheckIn{" +
                "id='" + id + '\'' +
                ", userId='" + userId + '\'' +
                ", checkInTime=" + checkInTime +
                '}';
    }
}
